package com.zjcode.oa.api.fallback;

import com.zjcode.oa.api.model.JsonObj;
import com.zjcode.oa.api.service.OaService;
import java.util.HashMap;
import java.util.Map;
import org.springframework.stereotype.Service;

/**
 * @ClassName:OaServiceFallBack
 * @功能：
 * @author：wlei
 * @日期：2022/5/1-15:01
 **/
@Service
public class OaServiceFallBack implements OaService {

    @Override
    public JsonObj version() {
        Map<String, Object> info = new HashMap<>();
        info.put("version", "0.0.1");
        info.put("msg", "兜底");
        return JsonObj.success(info);
    }
}
